package com.fsh.subject.domain.convert;


import com.fsh.subject.domain.entity.SubjectAnswerBO;
import com.fsh.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RadioSubjectConverter {
    RadioSubjectConverter INSTANCE= Mappers.getMapper(RadioSubjectConverter.class);

    SubjectRadio convertBOToRadio(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertRadioToAnswerBOList(List<SubjectRadio> subjectRadioList);
}
